import React from 'react';
import ReactDOM from 'react-dom';

import App from './App';
// 引入ui
import 'antd-mobile/dist/antd-mobile.css';
// 引入静态资源
import './assets/css/reest.css'
import './assets/js/rem'
// 配置路由模式
import { HashRouter } from 'react-router-dom'
/* 
HashRouter：hash路由
BrowserRouter:history路由
*/
// 引入仓库
import store from './store/index'
// 引入Privater,并注入仓库
import { Provider } from 'react-redux'
ReactDOM.render(
  <Provider store={store}>
    <HashRouter>
      <App />
    </HashRouter>
  </Provider>,

  document.getElementById('root')
);


